<html>
<head>
<meta charset="utf-8" />
<meta name="referrer" content="unsafe-url" />
<title>Baidu Jump Server</title>
</head>
<body>
<form action="" method="get">
<legend>Please input url:</legend>
<p><input name="url" placeholder="http://..." value=""></p>
<p><button type="submit">submit</button></p>
</form>
<script type="text/javascript">
(function () {
    var p = function (e) {
        var n = new RegExp("(^|&)" + e + "=([^&]*)(&|$)", "i"),
        t = window.location.search.substr(1).match(n);
        return null != t ? unescape(t[2]) : null
    },
    url = p("url"),
    jump = p("jump");
    if (url) {
        if (!jump) {
            location.href = url
        }
        var a = document.createElement('a');
        // a.referrerPolicy = "no-referrer-when-downgrade";
        a.href = url;
        a.innerText = "点击跳转";
        document.body.appendChild(a);
    }
})();
</script>
</body>
</html>
